<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Normalizes the document</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="domdocument.loadxml.html">DOMDocument::loadXML</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="domdocument.registernodeclass.html">DOMDocument::registerNodeClass</a></div>
 <div class="up"><a href="class.domdocument.html">DOMDocument</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="domdocument.normalizedocument" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">DOMDocument::normalizeDocument</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">DOMDocument::normalizeDocument</span> &mdash; <span class="dc-title">Normalizes the document</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-domdocument.normalizedocument-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>DOMDocument::normalizeDocument</strong></span>
    ( <span class="methodparam">void</span>
   )</div>


  <p class="para rdfs-comment">
   This method acts as if you saved and then loaded the document, putting the
   document in a &quot;normal&quot; form.
  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-domdocument.normalizedocument-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-domdocument.normalizedocument-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member">
     <a href="http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument" class="link external">&raquo;&nbsp;The DOM Specification</a>
    </li>
    <li class="member"><span class="methodname"><a href="domnode.normalize.html" class="methodname" rel="rdfs-seeAlso">DOMNode::normalize()</a> - Normalizes the node</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="domdocument.loadxml.html">DOMDocument::loadXML</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="domdocument.registernodeclass.html">DOMDocument::registerNodeClass</a></div>
 <div class="up"><a href="class.domdocument.html">DOMDocument</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
